package com.night.io;

import java.io.IOException;
import java.io.InputStream;

/**
 * @Author: chen yang
 * @Date: 11/12/2024 9:17 PM
 */
@FunctionalInterface
public interface InputStreamCallback<T> {
    T doWithInputStream(InputStream stream) throws IOException;
}
